package com.shop.entity.VO;

import java.util.List;

/**
 * @Description 结算
 * @Author hyl
 * @Date 2022/3/15 10:49
 **/
public class BuyVo {
	private String  account; //购买商品的用户编号
	private Integer addressId; //收货地址编号
	private Integer payType; //付款方式
	private String orderNo = "HYL"+System.currentTimeMillis();//订单编号
	private List<CarVo> list; //购买的商品列表 。 商品 + 数量

	public BuyVo() {
	}

	public BuyVo(Integer addressId, Integer payType, List<CarVo> list) {
		this.addressId = addressId;
		this.payType = payType;
		this.list = list;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public Integer getAddressId() {
		return addressId;
	}

	public void setAddressId(Integer addressId) {
		this.addressId = addressId;
	}

	public Integer getPayType() {
		return payType;
	}

	public void setPayType(Integer payType) {
		this.payType = payType;
	}

	public List<CarVo> getList() {
		return list;
	}

	public void setList(List<CarVo> list) {
		this.list = list;
	}

	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}
}
